writing nested loops in python

welcome to shbcf.ru